Vcenter Vm Hardware Memory UpdateSpec

Vcenter Vm Hardware Memory UpdateSpec
Vcenter Vm Hardware Memory UpdateSpec

The Vcenter Vm Hardware Memory UpdateSpec schema describes the updates to be made to the memory-related settings of a virtual machine.

JSON Example
{
    "size_mib": 0,
    "hot_add_enabled": false
}
integer As int64 As int64
size_mib
Optional

New memory size in mebibytes.

The supported range of memory sizes is constrained by the configured guest operating system and virtual hardware version of the virtual machine.

If the virtual machine is running, this value may only be changed if Vcenter Vm Hardware Memory Info.hot_add_enabled is true, and the new memory size must satisfy the constraints specified by Vcenter Vm Hardware Memory Info.hot_add_increment_size_MiB and Vcenter Vm Hardware Memory Info.hot_add_limit_MiB.

If missing or null, the value is unchanged.

boolean
hot_add_enabled
Optional

Flag indicating whether adding memory while the virtual machine is running should be enabled.

Some guest operating systems may consume more resources or perform less efficiently when they run on hardware that supports adding memory while the machine is running.

This property may only be modified if the virtual machine is not powered on.

If missing or null, the value is unchanged.